{% extends "polls/base.html" %}

{% block title %}
{% endblock %}

{% block content %}
<strong>{{ question.question_text }}</strong>
<form method="post" action="{% url 'polls:vote' question.pk %}">
  {% csrf_token %}
  {% for c in question.choice_set.all %}
  <label for="choice{{ c.pk }}">
    <input type="radio" name="choice" value="{{ c.pk }}" id="choice{{ c.pk }}">{{ c.choice_text }}<br>
  </label>
  {% endfor %}
<input type="submit" value="Submit">
</form>
{% endblock %}
